#include <my_header.h>
#include "UserLink.h"


int main()
{
    UserLink * p = (UserLink *)calloc(1,sizeof(UserLink));
    userLinkInit(p);
    addUser(p,"hhh","./netdisk");
    chmod("hello.txt",0666);
    chmod("file2222.txt",0666);
    char filename[64] = {'f','i','l','e','2','2','2','2','.','t','x','t','\0'};
   // FILE * ffd = fopen(filename,"r");
   // int fd = fileno(ffd);
    if(0){
    }else{

        int fd = open(filename,O_RDWR);
        printf("%d\n",fd);
    }
    return 0;
}

